summary
{base}
Obtain summary statistics or detailed regression output
data.frame
{base}
Create a data.frame from vectors
cut
{base}
Convert Numeric to Factor
median
{stats}
Get median of a vector
c
{base}
Combine values/vectors into a vector
nobs
{stats}
Return the number of observations in a model object
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
min
{base}
Get minimum of a vector
seq
{base}
Create a sequence
is.na
{base}
Check if a value is NA/elements of vector are NA
str
{utils}
Get the structure of an R object
length
{base}
Returns number of elements in an object
bar
{base}
Used for annotations, such as “expression(paste(”-“,bar(y)))”
sample
{base}
Takes a sample of the specified size
read_excel
{readxl}
Read an Excel file
setwd
{base}
Set Working Directory
mean
{base}
Get mean of a vector
sd
{stats}
Get standard deviation of a vector
max
{base}
Get maximum of a vector
ordered
{dplyr}
Create an ordered factor
var
{stats}
Calculate variance
which
{base}
return indexes of TRUE entries of a logical vector
range
{base}
Return range of values
as.character
{base}
Coerce a vector to character
head
{utils}
Show first 5 rows of a data frame
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
mutate
{dplyr}
Create new variables
library
{base}
Load an R package
log
{base}
log (default base = e)
rnorm
{base}
Generate random numbers from a normal distribution
par
{graphics}
Set parameters of the plotting device
names
{base}
Get or set names of an object
ifelse
{base}
Return a or b depending on the value of test
filter
{dplyr}
Filter out rows of a data frame according to logical vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
expression
{base}
Used in plots to add symbols to axes
dnorm
{stats}
Density distribution for the normal distribution
lm
{stats}
Fit linear models using least squares
plot
{graphics}
Generic function from base R to produce a plot
The end!